﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;
using OgilvyOne.DALFactory;
using OgilvyOne.IDAL;


namespace OgilvyOne.BLL
{
    public class LabelConfig
    {
        // Methods
        public void Delete(int menu_uid)
        {
            OgilvyOne.DALFactory.LabelConfig.Create().Delete(menu_uid);
        }

        public IList GetLabelList()
        {
            return OgilvyOne.DALFactory.LabelConfig.Create().getLabelList();
        }

        public LabelConfigInfo GetLabelList(int menu_uid)
        {
            return OgilvyOne.DALFactory.LabelConfig.Create().getLabelList(menu_uid);
        }

        public void Insert(LabelConfigInfo conf)
        {
            OgilvyOne.DALFactory.LabelConfig.Create().Insert(conf);
        }

        public void Update(LabelConfigInfo conf)
        {
            OgilvyOne.DALFactory.LabelConfig.Create().Update(conf);
        }

    }
}
